package com.qf.bank.userprovider.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.qf.bank.userapi.po.UserCardInfo;
import com.qf.bank.userapi.po.Users;

/**
 * Mapper 接口
 *
 * @author UsersPo
 * @since 2019-12-04
 */
public interface UsersMapper extends BaseMapper<Users> {

  /**
   * 根据用户id查询银行卡信息
   *
   * @param userId 用户id
   * @return 该用户的银行卡信息
   */
  UserCardInfo selectCardInfoByUserId(int userId);
}
